/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package desu.nya.DAO;

import desu.nya.Genre;
import java.sql.SQLException;
import java.util.List;

/**
 *
 * @author Fess
 */
public interface GenreDAO {
    public void addGenre(Genre genre) throws SQLException;
    public Genre getGenreByID(int id) throws SQLException;
    public void updateGenre(int genre_id,Genre genre) throws SQLException;
    public List<Genre> getAllGenre() throws SQLException;
//    public List<Genre> getGenresById();
    public void deleteGenre(Genre genre) throws SQLException;
    public List<String> getIdListByNameList(List<String> genreIdList) throws SQLException;
}
